<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<!-- 引入 ECharts 文件 -->
<script src="../../s/jsbarcode/3.8.0/JsBarcode.all.min.js"></script>
</head>
<body>

	<svg id="barcode-svg"></svg>
	<!-- or -->
	<canvas id="barcode-canvas"></canvas>
	<!-- or -->
	<img id="barcode-img" />

	<script type="text/javascript">
		JsBarcode("#barcode-svg", "Hello");
		JsBarcode("#barcode-canvas", "Hello");
		JsBarcode("#barcode-img", "Hello");
	</script>
</body>
</html>